package com.faneui.transfer.dal.dao;

import com.faneui.transfer.dal.model.Account;
import java.util.List;

/**
 *
 * The Table T_ACCOUNT.
 * T_ACCOUNT
 */
public interface AccountDAO{

    /**
     * desc:插入表:T_ACCOUNT.<br/>
     * 
     * @param entity entity
     * @return Long
     */
    Long insert(Account entity);
    /**
     * desc:deleteById.<br/>
     * 
     * @param id id
     * @return Long
     */
    Long deleteById(Integer id);
    /**
     * desc:updateById.<br/>
     * 
     * @param entity entity
     * @return Long
     */
    Long updateById(Account entity);
    /**
     * desc:queryById.<br/>
     * 
     * @param id id
     * @return Account
     */
    Account queryById(Integer id);
    /**
     * desc:queryByModel.<br/>
     * 
     * @param entity entity
     * @return List<Account>
     */
    List<Account> queryByModel(Account entity);
}
